<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="demo">
        <h1>{{mesage}}</h1>
        <p>{{time}}</p>
        <p>{{time>10? '牛逼':'不牛逼'}}</p>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>

    <script>
        const demo = new Vue({
            el: '#demo',
            data: {
                mesage: '第一天',
                time: 16
            }
        });
    </script>
</body>

</html>